<!--
 * @Author: your name
 * @Date: 2021-12-10 10:00:27
 * @LastEditTime: 2021-12-10 10:45:31
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \Vue\12.10vue\index.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        {{str1}}
        <h1>{{num*3}}</h1>
        {{flag?'真的':'假的'}}
        <li>
            
        </li>
    </div>
    <script src="./vue.js"></script>
    <script>
        // const str='aaa',只能写里面
        const vue=new Vue({
            el:'#app',
            data(){
                return{
                    str1:'你好12月10',
                    num:1,
                    flag:false,
                    list:["1","2","3"]
                }
            }
        })
    </script>
</body>
</html>